package cn.kgcnews.pojo;
/**
 * 用户类
 * @author 204
 *
 */
public class User {
	private Integer id;// 用户ID
	private String userName;// 用户名
	private String userPass;// 用户密码
	private Integer type;// 用户类型
	private String email; //邮箱

	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPass() {
		return userPass;
	}
	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public User(Integer id, String userName, String userPass, Integer type,String email) {
		this.id = id;
		this.userName = userName;
		this.userPass = userPass;
		this.type = type;
		this.email=email;
	}
	
	public User(String userName, String userPass, Integer type,String email) {
		this.userName = userName;
		this.userPass = userPass;
		this.type = type;
		this.email=email;
	}
	
	public User(){
		
	}
	
	
	

}
